package com.demo.service;

import org.springframework.stereotype.Service;

import javax.annotation.PostConstruct;

@Service
public class CService {
    @PostConstruct
    public void postConstruct() {

        System.out.println("执行了 C 对象的 PostConstruct 方法");
    }
}